from django.urls import re_path

from rest_framework_jwt.views import obtain_jwt_token

from activities import views

urlpatterns = [
    re_path(r'^gatherings/$', views.ListView.as_view()),
    re_path(r'^gatherings/(?P<pk>\d+)/$', views.DateilsView.as_view()),
    re_path(r'^gatherings/(?P<pk>\d+)/join/$', views.ApplyView.as_view()),
]